//
//  E7GameCenter.h
//  e7engine
//
//  Created by cc on 12-3-14.
//  Copyright (c) 2012年 PalmGame. All rights reserved.
//

#ifndef E7_ENGINE_E7GameCenter_h
#define E7_ENGINE_E7GameCenter_h

#include "E7NetworkDefine.h"
#include "E7GCProtocol.h"

class CE7GameCenter
{
public:
    CE7GameCenter(RecvMsgCallBack func) ;
    ~CE7GameCenter() ;

public:
    void InviteReceived() ;
    void MatchStart() ;
    void MatchEnd() ;
    void RecvMessage(MSGID eid, void* buf) ;
    void SendMessage(const void* buf, const int len) ;

private:
    RecvMsgCallBack m_funcRecvMsg ;
} ;

extern CE7GameCenter* s_pE7GameCenter ;

#endif











